package at.ac.univie.zsu.aguataplan.dao;

import java.util.List;

import at.ac.univie.zsu.aguataplan.domain.DetectedEvent;
import at.ac.univie.zsu.aguataplan.domain.Event;
import at.ac.univie.zsu.aguataplan.domain.Video;

/**
 * @author gerry
 * 
 */
public interface DetectedEventDao {

	public void cleanDetectedEvent() throws Exception;

	// --------------

	public DetectedEvent addEventToDetectedEvent(DetectedEvent detectedEvent) throws Exception;

	public DetectedEvent mergeDetectedEvent(DetectedEvent detectedEvent) throws Exception;

	public List<DetectedEvent> getDetectedEventList() throws Exception;

	public List<DetectedEvent> getDetectedEventByVideo(Video video) throws Exception;

	public List<DetectedEvent> getDetectedEventListOrderByVideoAndDetection() throws Exception;

	public void deleteDetectedEvent(long id) throws Exception;

	public List<DetectedEvent> getDetectedEventByEventAndVideo(Event event, Video video) throws Exception;

}
